Skip to content

fix(deps): update dependency ink to v7#4816

Merged
renovate[bot] merged 1 commit intomainfrom
renovate/ink-7.x
Apr 11, 2026
Merged

fix(deps): update dependency ink to v7#4816
renovate[bot] merged 1 commit intomainfrom
renovate/ink-7.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Apr 11, 2026

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
ink ^6.0.0^7.0.0 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

vadimdemedes/ink (ink)

v7.0.0

Compare Source

Breaking
  • Require Node.js 22 19b5316
  • Require React 19.2+ cfaebbb
    • Ink now uses useEffectEvent internally to avoid re-subscribing input handlers on every render
  • Pressing Backspace now correctly sets key.backspace instead of key.delete (#​634) 321a2e8
    • Most terminals send the same byte for Backspace as the Delete key, which caused Ink to misreport it. If you were checking key.delete to handle backspace, switch to key.backspace
  • key.meta is no longer set to true when Escape is pressed e195912
    • Previously a backward-compat shim made plain Escape set both key.escape and key.meta. Now only key.escape is true. key.meta is reserved for actual Alt/Meta modifier combinations
New
Fixes
  • Fix incremental rendering for trailing newline (#​910) c32da0b
  • Fix useInput crash on unmapped key codes (#​902) 969a4f1
  • Fix CJK text truncation exceeding <Box> width b5f3e3a
  • Fix splitting wide characters (emoji, CJK) when overlapping writes occur (#​930) 06d53f4
  • Fix dangling staticNode reference (#​905) 0dc4dfa

Migration guide

key.backspace vs key.delete
// Before — physical backspace was reported as key.delete
useInput((input, key) => {
  if (key.delete) { /* was catching physical backspace key */ }
});

// After
useInput((input, key) => {
  if (key.backspace) { /* physical backspace key (0x7F) */ }
  if (key.delete)    { /* actual Delete key (e.g. Fn+Backspace) */ }
});
key.meta no longer set on plain Escape
// Before — key.meta was true for both Escape AND Alt+key
useInput((input, key) => {
  if (key.meta) { /* fired on plain Escape too */ }
});

// After — check key.escape explicitly for the Escape key
useInput((input, key) => {
  if (key.escape) { /* plain Escape */ }
  if (key.meta)   { /* Alt/Meta combos only */ }
});


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • Between 12:00 AM and 03:59 AM (* 0-3 * * *)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate Bot added the renovate label Apr 11, 2026
@renovate renovate Bot enabled auto-merge (rebase) April 11, 2026 09:05
@renovate renovate Bot added the renovate label Apr 11, 2026
@renovate renovate Bot requested a review from jon77p as a code owner April 11, 2026 09:05
@renovate renovate Bot merged commit 1929fa3 into main Apr 11, 2026
16 of 17 checks passed
@renovate renovate Bot deleted the renovate/ink-7.x branch April 11, 2026 09:06
@github-actions
Copy link
Copy Markdown
Contributor

❌ Error planning Terraform CDK Stack 'cdktf'

Error: The process '/usr/local/bin/npx' failed with exit code 1
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated prebuild-install@7.1.3: No longer maintained. Please contact the author of the relevant native addon; alternatives are available.
npm warn deprecated lodash.isequal@4.5.0: This package is deprecated. Use require('node:util').isDeepStrictEqual instead.
npm warn deprecated glob@7.2.3: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me
npm warn deprecated glob@7.2.3: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me
npm warn deprecated glob@7.2.3: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me
npm warn deprecated glob@10.4.5: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me
[2026-04-11T09:06:46.471] [ERROR] default - /home/runner/work/infrastructure/infrastructure/cdktf/node_modules/ts-node/src/index.ts:859
    return new TSError(diagnosticText, diagnosticCodes, diagnostics);
           ^

[2026-04-11T09:06:46.472] [ERROR] default - TSError: ⨯ Unable to compile TypeScript:
main.ts(2,23): error TS2591: Cannot find name 'path'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.
main.ts(13,1): error TS2591: Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.
main.ts(127,47): error TS2591: Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.
main.ts(128,7): error TS2304: Cannot find name '__dirname'.

    at createTSError (/home/runner/work/infrastructure/infrastructure/cdktf/node_modules/ts-node/src/index.ts:859:12)
    at reportTSError (/home/runner/work/infrastructure/infrastructure/cdktf/node_modules/ts-node/src/index.ts:863:19)
    at getOutput (/home/runner/work/infrastructure/infrastructure/cdktf/node_modules/ts-node/src/index.ts:1077:36)
    at Object.compile (/home/runner/work/infrastructure/infrastructure/cdktf/node_modules/ts-node/src/index.ts:1433:41)
    at Module.m._compile (/home/runner/work/infrastructure/infrastructure/cdktf/node_modules/ts-node/src/index.ts:1617:30)
    at Module._extensions..js (node:internal/modules/cjs/loader:1623:10)
    at Object.require.extensions.<computed> [as .ts] (/home/runner/work/infrastructure/infrastructure/cdktf/node_modules/ts-node/src/index.ts:1621:12)
    at Module.load (node:internal/modules/cjs/loader:1266:32)
    at Function.Module._load (node:internal/modules/cjs/loader:1091:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12) {
  diagnosticCodes: [ 2591, 2591, 2591, 2304 ]
}

ERROR: cdktf encountered an error while synthesizing

Synth command: npx ts-node main.ts
Error:         non-zero exit code 1

Command output on stderr:

    /home/runner/work/infrastructure/infrastructure/cdktf/node_modules/ts-node/src/index.ts:859
        return new TSError(diagnosticText, diagnosticCodes, diagnostics);
               ^
    TSError: ⨯ Unable to compile TypeScript:
    main.ts(2,23): error TS2591: Cannot find name 'path'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.
    main.ts(13,1): error TS2591: Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.
    main.ts(127,47): error TS2591: Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.
    main.ts(128,7): error TS2304: Cannot find name '__dirname'.

        at createTSError (/home/runner/work/infrastructure/infrastructure/cdktf/node_modules/ts-node/src/index.ts:859:12)
        at reportTSError (/home/runner/work/infrastructure/infrastructure/cdktf/node_modules/ts-node/src/index.ts:863:19)
        at getOutput (/home/runner/work/infrastructure/infrastructure/cdktf/node_modules/ts-node/src/index.ts:1077:36)
        at Object.compile (/home/runner/work/infrastructure/infrastructure/cdktf/node_modules/ts-node/src/index.ts:1433:41)
        at Module.m._compile (/home/runner/work/infrastructure/infrastructure/cdktf/node_modules/ts-node/src/index.ts:1617:30)
        at Module._extensions..js (node:internal/modules/cjs/loader:1623:10)
        at Object.require.extensions.<computed> [as .ts] (/home/runner/work/infrastructure/infrastructure/cdktf/node_modules/ts-node/src/index.ts:1621:12)
        at Module.load (node:internal/modules/cjs/loader:1266:32)
        at Function.Module._load (node:internal/modules/cjs/loader:1091:12)
        at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12) {
      diagnosticCodes: [ 2591, 2591, 2591, 2304 ]
    }




⠸  Synthesizing

@github-actions
Copy link
Copy Markdown
Contributor

❌ Error applying Terraform CDK Stack 'cdktf'

Error: The process '/usr/local/bin/npx' failed with exit code 1
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated prebuild-install@7.1.3: No longer maintained. Please contact the author of the relevant native addon; alternatives are available.
npm warn deprecated lodash.isequal@4.5.0: This package is deprecated. Use require('node:util').isDeepStrictEqual instead.
npm warn deprecated glob@7.2.3: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me
npm warn deprecated glob@7.2.3: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me
npm warn deprecated glob@7.2.3: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me
npm warn deprecated glob@10.4.5: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me
[2026-04-11T09:07:36.162] [ERROR] default - /home/runner/work/infrastructure/infrastructure/cdktf/node_modules/ts-node/src/index.ts:859
    return new TSError(diagnosticText, diagnosticCodes, diagnostics);
           ^

[2026-04-11T09:07:36.163] [ERROR] default - TSError: ⨯ Unable to compile TypeScript:
main.ts(2,23): error TS2591: Cannot find name 'path'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.
main.ts(13,1): error TS2591: Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.
main.ts(127,47): error TS2591: Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.
main.ts(128,7): error TS2304: Cannot find name '__dirname'.

    at createTSError (/home/runner/work/infrastructure/infrastructure/cdktf/node_modules/ts-node/src/index.ts:859:12)
    at reportTSError (/home/runner/work/infrastructure/infrastructure/cdktf/node_modules/ts-node/src/index.ts:863:19)
    at getOutput (/home/runner/work/infrastructure/infrastructure/cdktf/node_modules/ts-node/src/index.ts:1077:36)
    at Object.compile (/home/runner/work/infrastructure/infrastructure/cdktf/node_modules/ts-node/src/index.ts:1433:41)
    at Module.m._compile (/home/runner/work/infrastructure/infrastructure/cdktf/node_modules/ts-node/src/index.ts:1617:30)
    at Module._extensions..js (node:internal/modules/cjs/loader:1623:10)
    at Object.require.extensions.<computed> [as .ts] (/home/runner/work/infrastructure/infrastructure/cdktf/node_modules/ts-node/src/index.ts:1621:12)
    at Module.load (node:internal/modules/cjs/loader:1266:32)
    at Function.Module._load (node:internal/modules/cjs/loader:1091:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12) {
  diagnosticCodes: [ 2591, 2591, 2591, 2304 ]
}

ERROR: cdktf encountered an error while synthesizing

Synth command: npx ts-node main.ts
Error:         non-zero exit code 1

Command output on stderr:

    /home/runner/work/infrastructure/infrastructure/cdktf/node_modules/ts-node/src/index.ts:859
        return new TSError(diagnosticText, diagnosticCodes, diagnostics);
               ^
    TSError: ⨯ Unable to compile TypeScript:
    main.ts(2,23): error TS2591: Cannot find name 'path'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.
    main.ts(13,1): error TS2591: Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.
    main.ts(127,47): error TS2591: Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.
    main.ts(128,7): error TS2304: Cannot find name '__dirname'.

        at createTSError (/home/runner/work/infrastructure/infrastructure/cdktf/node_modules/ts-node/src/index.ts:859:12)
        at reportTSError (/home/runner/work/infrastructure/infrastructure/cdktf/node_modules/ts-node/src/index.ts:863:19)
        at getOutput (/home/runner/work/infrastructure/infrastructure/cdktf/node_modules/ts-node/src/index.ts:1077:36)
        at Object.compile (/home/runner/work/infrastructure/infrastructure/cdktf/node_modules/ts-node/src/index.ts:1433:41)
        at Module.m._compile (/home/runner/work/infrastructure/infrastructure/cdktf/node_modules/ts-node/src/index.ts:1617:30)
        at Module._extensions..js (node:internal/modules/cjs/loader:1623:10)
        at Object.require.extensions.<computed> [as .ts] (/home/runner/work/infrastructure/infrastructure/cdktf/node_modules/ts-node/src/index.ts:1621:12)
        at Module.load (node:internal/modules/cjs/loader:1266:32)
        at Function.Module._load (node:internal/modules/cjs/loader:1091:12)
        at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12) {
      diagnosticCodes: [ 2591, 2591, 2591, 2304 ]
    }




⠙  Synthesizing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants